

export const alertObj = state => {
	return state.alertObj;
}

export const currentPageMain = state => {
	return state.workData.main;
}

export const currentIndex = state => {
  return state.currentPage;
}

export const currentPageData = state => {
	return state.workData.pages[state.currentPage - 1].elements
}

export const currentPageBg = state => {
	return state.workData.pages[state.currentPage - 1].pagebg
}
export const checkedItems = state => {
	return state.checkedItems;
}
//右侧fuc tab index
export const rightTabIndex = state => {
	// debugger
	return state.rightTabIndex;
}

export const checkedItemData = state => {
	return state.workData.pages[state.currentPage - 1].elements[state.checkedItems[0]];
}

export const pagesData = state => {
	return state.workData.pages;
}

export const currentPage = state => {

	return state.currentPage;
}

//场景信息
export const sceneInfo = state => {

	return state.workData.sceneinfo;
}

//SVG颜色list
export const svgColors = state => {

	return state.workData.svgColors;
}
export const userInfo=state=>{
  return state.workData.userinfo;
}

